package com.guigu.erp.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.erp.pojo.DesignModule;
import com.guigu.erp.pojo.DesignModuleDesignModuleDetails;
import com.guigu.erp.vo.DesignModuleVo;

import java.util.List;

/**
 * @author Lenovo
 */
public interface DesignModuleMapper extends BaseMapper<DesignModule> {

    /**
     * 查询ID最大的物料设计单信息
     * @return
     */
    DesignModule queryMaxModule();

    /**
     * 两表查询产品物料组成设计单
     */
    List<DesignModuleDesignModuleDetails> list(DesignModuleVo vo);
}
